package com.szx.kaihei.Enums;

import lombok.Getter;

@Getter
public enum CaptchaType {
    REGISTER(2,"register:code:", "注册验证码"),
    LOGIN_PHONE(1,"login:code:" ,"登录验证码"),
    LOGIN_IMAGE(3,"image:code:", "图片验证码");


    int type;
    String prefix;
    String message;
    CaptchaType(int type, String prefix, String message) {
        this.type = type;
        this.prefix = prefix;
        this.message = message;
    }
}
